Velites are lightly armed skirmishers who could not afford any good equipment. They were armed with javelins to hurl at the enemy and were meant to do so before the infantry clashed. They were sometimes very effective in battle, as in Zama, where they drove away dangerous Carthaginian elephants which would have destroyed the army easily.